﻿using System;
using System.Collections.Generic;
using System.Text;
using FlickrNet;

namespace McePicasa.mceFlickr
{
    public class FlickrAlbum
    {
        private string myTitle;
        private DateTime published;
        private Photos photos;
        private List<Photoset> photoSets;

        public List<Photoset> PhotoSets
        {
            get { return photoSets; }
            set { photoSets = value; }
        }

        public Photos Photos
        {
            get
            {
                return photos;
            }
            set
            {
                photos = value;
            }
        }





        public string MyTitle
        {
            get
            {
                myTitle = photoSets[0].Title;
                return myTitle;
            }
            set
            {
                myTitle = value;
            }
        }

        public DateTime Published
        {
            get
            {
                
                return published;
            }
            set
            {
                published = value;
            }
        }


        public Photoset GetPhotoset(int index)
        {
            return this.PhotoSets[index];
        }
    }
}
